package net.zjitc.pojo;

public class Users {
    private int id;
    private String username;
    private int userage;
    private String sex;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getUserage() {
        return userage;
    }

    public void setUserage(int userage) {
        this.userage = userage;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Users{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", userage=" + userage +
                ", sex='" + sex + '\'' +
                '}';
    }
    //根据条件查询：可以通过性别或者名字查询（模糊查询） sex  name   sex and name

}
